<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>冬奥共享学习</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<script type="text/javascript" src="../../plugin/browerVersion/browerVersion.js"></script>
		<link rel="stylesheet" href="../../../skin/opwg/style.css" />
		<link rel="stylesheet" href="../../plugin/bootstrap/bootstrap.min.css" />
		<link rel="stylesheet" href="../../skin/css/normalize.css" />
		<link rel="stylesheet" href="../../skin/fonts/iconfont.css" />
		<link rel="stylesheet" href="meetingList.css" />
		<link rel="stylesheet" href="../../skin/css/style.css" />
		<script type="text/javascript" src="../../plugin/jquery/jquery-1.12.1.js"></script>
		<script type="text/javascript" src="../../plugin/jquery/jquery.form.min.js"></script>
		<script type="text/javascript" src="../../plugin/bootstrap/bootstrap.min.3.3.5.js"></script>
		<script type="text/javascript" src="../../plugin/hivelearncommon.js"></script>
	</head>

	<body class="body">
		<div class="header-warpper">
			<div class="header">
				<div class="logo">
					<!-- <img class="mr-10" src="../../skin/img/honeycombIco.png" />
					<img class="pt-5" src="../../skin/img/honeycombLearningIco.png" /> -->
					<img class="pt-5" src="../../skin/img/gxxxlogo1.png" />
				</div>
				<div class="rightInfo">
					<!-- <input class="search" />
					<span class="searchIco"></span> -->
					<!-- <span class="userInfo">YC</span> -->
					<span class="menu" title="首页" onclick="javascirpt:window.location.href='../../../hivelearnweb/portal/homePage/homePage.html'"></span>
				</div>
			</div>		
		</div>
		<div class="container body-container">
			<div class="st-back">
				<span style="cursor:pointer;" onclick="toShareLearning()"><span class="iconfont icon-left"></span>返回上级</span>
			</div>
			<div class="title">
				<h1 style="margin-top: 10px;">
					<span class="js-heading-dept"></span>
					<span class="js-heading-num"></span>
					<span class="js-heading-label">个群组</span>
					<span class="js-heading-total top-heading__total hide"></span>
				</h1>
				<div class="addDiv">
					<span class="addGroup">+</span>
					<span class="addGroupInfo">新建群组</span>
				</div>
			</div>
			<div class="contentFilter">
				<div class="filterItemSort">
					<span>排序：</span>
					<span class="sortItem">
						<!-- <span class="selSort">最近访问</span>
						<span class="sortIco glyphicon glyphicon-chevron-down"></span>
						<ul class="sortList">
							<li class="item active" value="sort_visit">最近访问</li>
							<li class="item" value="sort_create">创建日期</li>
							<li class="item" value="sort_name">名称</li>
						</ul> -->
						<span class="dropdown-toggle" id="dropdownSort" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="selSort">最近访问</span>
							<span class="sortIco glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu sortList" aria-labelledby="dropdownSort">
							<li class="item active" value="sort_visit">最近访问</li>
							<li class="item" value="sort_create">创建日期</li>
							<li class="item" value="sort_name">名称</li>
						</ul>
					</span>
					<span>筛选：</span>
					<span class="sortItem">
						<!-- <span class="selFilter">全部</span>
						<span class="filterIco glyphicon glyphicon-chevron-down"></span>
						<ul class="filterList">
							<li class="item active" value="">全部</li>
							<li class="item" value="shared_groups">共享群组</li>
							<li class="item" value="personal_groups">个人群组</li>
							<li class="item" value="filter_creater">由我创建</li>
							<li class="item" value="filter_new">最新</li>
						</ul> -->
						<span class="dropdown-toggle" id="dropdownFilter" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="selFilter">全部</span>
							<span class="filterIco glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu filterList" aria-labelledby="dropdownFilter">
							<li class="item active" value="">全部</li>
							<!-- <li class="item" value="shared_groups">共享群组</li>
							<li class="item" value="personal_groups">个人群组</li> -->
							<li class="item" value="filter_creater">由我创建</li>
							<li class="item" value="filter_new">最新</li>
						</ul>
					</span>
				</div>
			</div>
			<div class="contentWrapper" id="group">
					<!--<div class="col-sm-4 cardItem">
						<div class="cardItem_">
							<div class="cardImg">
								<img src="../../skin/img/empty-img.png" />
							</div>
							<div class="cardInfo">
								<span class="cardTitle">个人群组</span>
							</div>
						</div>
					</div>
					<div class="col-sm-4 cardItem">
						<div class="cardItem_">
							<div class="cardImg">
								<img src="../../skin/img/itemImg02.jpg" />
							</div>
							<div class="cardInfo">
								<span class="numInfo"><span class="glyphicon glyphicon-user"></span>45</span>
								<span class="cardTitle">OCOG IKM Workshop</span>
							</div>
						</div>
					</div>
					<div class="col-sm-4 cardItem">
						<div class="cardItem_">
							<div class="cardImg">
								<img src="../../skin/img/itemImg03.jpg" />
							</div>
							<div class="cardInfo">
								<span class="numInfo"><span class="glyphicon glyphicon-user"></span>23</span>
								<span class="cardTitle">北京冬奥组委OGKM系列研讨会（2017年6月）</span>
							</div>
						</div>
					</div> -->
			</div>
			<div style="clear:both;"></div>
		</div>
		<div class="footer">
			<div class="container">
				<div class="copyrightInfo">
					<span>版权©北京2022年冬奥会和冬残奥会组织委员会</span>
					<span>Beijing Organising Committee for the 2022 Olympic and Paralympic Winter Games All Rights Reserved</span>
					<span>京ICP备05014028号-2</span>
				</div>
				<div class="linkFlag">
					 <a class="vendor-logo" id="vendor-weixin">
		            	<div class="erweima">
			            <span class="left-tri"></span>
				            <img src="http://mat1.gtimg.com/bj2022/winter-olympic-2022/dongaoweixin.jpg" alt="">
				        </div>
		            </a>
		            <a class="vendor-logo" id="vendor-weibo"  href="http://weibo.com/u/5980037952?refer_flag=1001030101_&amp;is_hot=1#_loginLayer_1469943377816" target="_blank">
		            </a>
				</div>
			</div>
		</div>
		<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <span class="close"><span class="selNum" aria-hidden="true"></span></span>
		        <h4 class="modal-title" id="myModalLabel">新建群组</h4>
		      </div>
		      <div class="modal-body">
		        <div class="selUserGroup">
		        	<div class="selUser">
		        		<span class="userImg" id="userImgSelf" title="" ></span>
		        		<span class="userName" id="userNameSelf" title=""></span>
		        	</div>
		        </div>
		        <div class="searchUser">
		        	 <div class="input-group">
				      <input type="text" id="searchUserName" class="form-control" placeholder="请输入...">
				      <span class="input-group-btn">
				        <button class="btn btn-default searchBtn" type="button" onclick="searchUserList()"><span class="glyphicon glyphicon-search"></span></button>
				      </span>
				    </div>
		        </div>
		        <div class="userList">
		        	<ul id="selectUserList">
		        	</ul>
		        </div>
		      </div>
		      <div class="modal-footer">
		      	<div style="float: left;">
				<label class="radio-inline"><input type="radio" name="userOpenType" value="1" checked/>公开邀请</label>
				<label class="radio-inline"><input type="radio" name="userOpenType" value="2"/>非公开邀请</label>
				</div>
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="button" class="btn btn-primary fNext">下一步</button>
		      </div>
		    </div>
		  </div>
		</div>
		<!--
        	创建第二步模态框
        -->
        <div class="modal fade" id="groupInfoModal" tabindex="-1" role="dialog" aria-labelledby="groupInfoModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-body" style="padding: 10px 15px;">
		      	<form id="uploadForm" method="post" enctype="multipart/form-data">
					<input type="file" id="file" name="file" accept="image/*" onchange ="commoncheckfile(this,'uploadForm',uploadFile,'.png,.jpg,.gif',2)" style="display:none;">
				</form>
		        <div class="groupImg">
		        	<span class="glyphicon glyphicon-camera uploadBtn"></span>
		        </div>
		        <div class="groupTitle"><label style="color: red;font-size: 18px;position: relative;top: 4px;">*</label>群组名称</div>
		        <!-- <div contenteditable="true" class="editText groupName" id="groupName"></div> -->
		        <input type="text" maxlength="200" class="groupName" id="groupName"/><span class="error-msg"></span>
		        <div class="groupTitle">群组简介</div>
		        <div contenteditable="true" class="editText groupDes" id="groupDes"></div>
		        <div class="groupTitle">新成员可以查看、评论、编辑、创建、删除、移动、分享、保存、下载、查看人员、创建帖子。</div>
		      	<div class="groupTitle groupConf">设置组</div>
		      	<div class="groupTitle changeRole">更改成员角色</div>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">上一步</button>
		        <button type="button" class="btn btn-primary" onclick="saveGroup()">保存</button>
		      </div>
		    </div>
		  </div>
		</div>
		<!--
        	配置组
        -->
        <form id="groupForm">
        <div class="modal fade" id="groupConfModal" tabindex="-1" role="dialog" aria-labelledby="groupConfModalLabel" aria-hidden="true" data-backdrop="static">
          <input type="hidden" name="groupName"/>
          <input type="hidden" name="aboutGroup"/>
          <input type="hidden" name="groupCover"/>
          <input type="hidden" name="ORCHID_WEB_TOKEN"/>
          <input type="hidden" name="orgId" id="orgId"/>
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <h4 class="modal-title" id="myModalLabel">设置组</h4>
		      </div>
		      <div class="modal-body group-modal-body" style="padding: 0;">
		        <!-- <div class="confTile">为新成员选择默认角色</div>
		        <div class="roleChange">
		        	<label><input name="defaultRole" type="radio" value="2" />&nbsp;评论者 </label> 
		        	<div class="fDiv commenterRole">新成员可以查看，评论，分享，保存，下载，查看人，创建帖子。</div>
		        	<label><input name="defaultRole" type="radio" value="1" checked/>&nbsp;人员 </label> 
		        	<div class="editorRole">新成员可以查看，评论，编辑，创建，删除，移动，分享，保存，下载，查看人，创建帖子。</div>
		        </div> -->
		        <div class="confTile">定义角色权限</div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-share-alt">分享、&nbsp;</span>
		        	<span class="glyphicon glyphicon-floppy-disk">保存、&nbsp;</span>
		        	<span class="glyphicon glyphicon-download-alt">下载</span>
		        	<div>选择谁可以将主题和卡片保存到自己的个人空间中或将其分享到另一个组。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_1">所有人</span>
						<span class="js_sel_1Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_1List ">
							<li class="item">仅自己</li>
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="sharesavedownload" value="4"/>
						<span class="dropdown-toggle" id="dropdownList1" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_1 itemName">所有人</span>
							<span class="js_sel_1Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_1List" aria-labelledby="dropdownList1">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-user">人员</span>
		        	<div>选择谁可以查看组中的其他成员。 管理员将始终能够查看该组的成员。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_2">所有人</span>
						<span class="js_sel_2Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_2List">
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="people" value="4"/>
						<span class="dropdown-toggle" id="dropdownList2" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_2 itemName">所有人</span>
							<span class="js_sel_2Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_2List" aria-labelledby="dropdownList2">
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-screenshot">邀请</span>
		        	<div>选择谁可以邀请其他人进入群组。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_3">所有人</span>
						<span class="js_sel_3Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_3List">
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="invite" value="4"/>
						<span class="dropdown-toggle" id="dropdownList3" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_3 itemName">所有人</span>
							<span class="js_sel_3Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_3List" aria-labelledby="dropdownList3">
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span class="glyphicon glyphicon-list-alt">帖子</span>
		        	<div>选择谁可以在组中创建帖子。 本组所有成员均可进行查看。</div>
		        	<span class="sortItem">
						<!-- <span class="js_sel_4">所有人</span>
						<span class="js_sel_4Ico glyphicon glyphicon-chevron-down"></span>
						<ul class="js_sel_4List">
							<li class="item">仅自己</li>
							<li class="item">管理员和自己</li>
							<li class="item">编辑、管理员和自己</li>
							<li class="item active">所有人</li>
						</ul> -->
						<input class="roleItem" type="hidden" name="posts" value="4"/>
						<span class="dropdown-toggle" id="dropdownList4" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_4 itemName">所有人</span>
							<span class="js_sel_4Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_4List" aria-labelledby="dropdownList4">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<!-- <li class="item" value="3">编辑、管理员和自己</li> -->
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		       <!--  <div class="rolePer">
		        	<span class="glyphicon glyphicon-equalizer">分析</span>
		        	<div>选择谁能看到群组的分析。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="analytics" value="4"/>
						<span class="dropdown-toggle" id="dropdownList5" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_5 itemName">所有人</span>
						<span class="js_sel_5Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_5List" aria-labelledby="dropdownList5">
							<li class="item" value="1">仅自己</li>
							<li class="item" value="2">管理员和自己</li>
							<li class="item" value="3">编辑、管理员和自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<span >@其他人</span>
		        	<div>成员可以在组内@其他人。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="mention" value="4"/>
						<span class="dropdown-toggle" id="dropdownList6" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_6 itemName">所有人</span>
							<span class="js_sel_6Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_6List" aria-labelledby="dropdownList6">
							<li class="item" value="1">仅自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div>
		        <div class="rolePer">
		        	<div>成员可以使用@Group来提及整个组。</div>
		        	<span class="sortItem">
						<input class="roleItem" type="hidden" name="mentiongroup" value="4"/>
						<span class="dropdown-toggle" id="dropdownList7" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
							<span class="js_sel_7 itemName">所有人</span>
							<span class="js_sel_7Ico glyphicon glyphicon-chevron-down"></span>
						</span>
						<ul class="dropdown-menu js_sel_7List" aria-labelledby="dropdownList7">
							<li class="item" value="1">仅自己</li>
							<li class="item active" value="4">所有人</li>
						</ul>
					</span>
		        </div> -->
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal" onclick="initRole()">取消</button>
		        <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="changeDefaultRole()">保存</button>
		      </div>
		    </div>
		  </div>
		</div>
		</form>
		<!--
        	修改角色列表
        -->
        <div class="modal fade" id="groupRoleModal" tabindex="-1" role="dialog" aria-labelledby="groupRoleModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-body">
		      	<div style="font-size: 17px;height: 28px;padding: 0 10px;border-bottom: 1px solid #dfdfdf;">修改角色<span class="glyphicon glyphicon-remove" style="float:right;cursor:pointer" data-dismiss="modal"></span></div>
		      	<div style="padding: 10px 15px;max-height:500px;overflow-y:auto">
		      	<ul id="userRoleList">
		      	</ul>
		      	</div>
		      </div>
		    </div>
		  </div>
		</div>
		<!--
        	修改角色
        -->
        <div class="modal fade" id="changeRoleModal" tabindex="-1" role="dialog" aria-labelledby="changeRoleModalLabel" aria-hidden="true" data-backdrop="static">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-body" style="padding: 10px 15px;">
		      	<input type="hidden" id="changeUserId"/>
		      	<div><span style="font-size: 17px;height: 28px;" class="changeUser"></span></div>
		        <div class="roleChange">
		        	<!-- <div class="selectRoleItem">
			        	<label><input name="selectRole" type="radio" value="commenter" />&nbsp;评论者
			        	<div class="c_commenter">可以查看，评论，分享，保存，下载，查看人，创建帖子。</div>
			        	 </label>
		        	</div> -->
		        	<div class="selectRoleItem">
			        	<label><input name="selectRole" type="radio" value="editor" checked/>&nbsp;人员  
			        	<div class="c_editor">可以查看，评论，编辑，创建，删除，移动，分享，保存，下载，查看人，创建帖子。</div>
			        	</label>
		        	</div>
		        	<!-- <div class="selectRoleItem">
			        	<label><input name="selectRole" type="radio" value="viewer" />&nbsp;观看者  
			        	<div class="c_viewer">可以查看，点赞，分享，保存，下载，创建帖子。</div>
			        	</label>
		        	</div> -->
		        	<div class="selectRoleItem">
			        	<label><input name="selectRole" type="radio" value="admin" />&nbsp;管理者
			        	<div class="c_admin">可以查看、点赞、评论、编辑、创建、删除、移动、更改角色、共享、保存、下载、查看人员、邀请、创建帖子、创建帖子。</div>
			        	</label>
		        	</div>
		        </div>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="button" class="btn btn-primary" data-dismiss="modal" onclick="changeOneUserRole()">保存</button>
		      </div>
		    </div>
		  </div>
		</div>
		
		<!-- 提示框 -->
		<div class="modal fade" id="msgModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		    <div class="modal-dialog">
		        <div class="modal-content">
		            <div class="modal-body msg"></div>
		            <div class="modal-footer" style="text-align:center;border-top-width: 0px;">
		                <button type="button" class="btn btn-primary confirm" data-dismiss="modal">确定</button>
		            </div>
		        </div><!-- /.modal-content -->
		    </div><!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<script type="text/javascript" src="../../plugin/underscore/underscore-min.js"></script>
		<script type="text/javascript" src="meetingList.js"></script>
		<script type="text/template" id="groupTpl">
			<%if(resultList.length==0){%>
				
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
					<div class="col-sm-4 cardItem">
						<div class="cardItem_" onclick="toTopic('<%=item.groupId%>')">
							<div class="cardImg">
								<%if(item.groupCover){%>
									<img src="../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.groupCover%>"/>
								<%}else{%>
									<img src="../../skin/img/empty-img.png" />
								<%}%>
							</div>
							<div class="cardInfo">
								<span class="numInfo"><%if(!item.justYou){%><span class="glyphicon glyphicon-user"></span><%=item.userNum%><%}else{%>Just you<%}%></span>
								<span class="cardTitle" title="<%=item.groupName%>（<%=item.createDate%>）"><%=item.groupName%>（<%=item.createDate%>）</span>
							</div>
						</div>
					</div>
				<%})%>
			<%}%>
		</script>
		<script type="text/template" id="selectUserListTpl">
			<%if(resultList.length==0){%>
				<li style="text-align:center;font-size: 16px;margin-top: 20px;">暂无数据！</li>
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
					<li class="userItem">
		        			<div class="itemDiv">
								<input type="hidden" name="userId" value="<%=item.userId%>" />
		        				<div class="userImg" title="<%=item.userName%>" <%if(item.headPhoto){%>style="background: url('../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>');background-size:100%;"<%}else{%>style="background: url('../../skin/img/default_head.png');background-size:100%;"<%}%>></div>
			        			<div>
			        				<span class="userName"><%=item.userName%></span><br />
			        				<span class="userInfo"><%=item.groupNum%>个共有群组</span>
			        				<span class="selStatus">
			        					<img src="../../skin/img/unSel.png" class="unSel" <%if(selUsers!=null&&selUsers.indexOf(item.userId)!=-1){%>style="display: none;"<%}%>/>
			        					<img src="../../skin/img/sel.png" onclick="unSelUser(this)" class="sel" <%if(selUsers!=null&&selUsers.indexOf(item.userId)!=-1){%>style="display: inline;"<%}%>/>
			        				</span>
			        			</div>
		        			</div>
		        		</li>
				<%})%>
			<%}%>
		</script>
		<script type="text/template" id="userRoleListTpl">
			<%if(resultList.length==0){%>
				
			<%}else{%>
				<% _.each(resultList,function(item,count){%>
					<li class="userItem">
		        			<div class="itemDiv">
								<input type="hidden" name="userId" value="<%=item.userId%>" />
		        				<div class="userImg" title="<%=item.userName%>" <%if(item.headPhoto){%>style="background: url('../../../components/gtattachment/open/downloadAttachment.json?attachmentId=<%=item.headPhoto%>');background-size:40px;"<%}else{%>style="background: url('../../skin/img/default_head.png');background-size:40px;"<%}%>></div>
			        			<div>
			        				<span class="userName"><%=item.userName%></span><br />
			        				<span class="selStatus"><%=item.roleName%></span>
			        			</div>
		        			</div>
		        		</li>
				<%})%>
			<%}%>
		</script>
	</body>

</html>